<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@ include file="taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
    <head>
        <t:header title="Login Information"/>
    </head>
    <body>
        <div id="header">
            <div id="titleSection">
                <t:pageheader title="Auction Login"/>
            </div>
        </div>
        <div id="contentWrap">
            <div id="contentPanel">
                <div id="pageContent">
                    <div class="sectionTitle">Login Information</div>
                    <c:if test="${empty actionBean.password}">
                        <p>Sorry, we could not find an account with an email of ${actionBean.loginId}.</p>
                        <p>You may <s:link href="/Login.action?findPassword">try again</s:link>, continue to view the <s:link href="/ShowAuction.action">Auctions</s:link>, or you may <s:link href="/Register.action">Register</s:link>.</p>
                    </c:if>
                    <c:if test="${not empty actionBean.password}">
                        <p>The password for ${actionBean.loginId} is: ${actionBean.password}</p>
                        <p>Click <s:link href="/Login.action">Login</s:link> to continue.</p>
                    </c:if>
                </div>
            </div>
        </div>
    </body>
</html>
